package com.xiaozeng.cart.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xiaozeng.param.CartParam;
import com.xiaozeng.pojo.Cart;
import com.xiaozeng.utils.Result;

/**
 * @Author: xiaozeng
 * @Date: 2022 11
 * @Description:
 **/
public interface CartService extends IService<Cart> {

    /**
     * 添加购物车
     */
    Result save(CartParam cartParam);
    /**
     * 查询购物车数据集合
     */
    Result cartList();

    Result remove(CartParam cartParam);
}
